package com.ruoyi.wechat.service;

import com.ruoyi.wechat.domain.Code2Session;
import com.ruoyi.wechat.domain.WechatUser;


public interface IWechatLoginService {

    Code2Session code2Session(String code);

    WechatUser getWechatUserByOpenId(String openid);

    int insertWechatUser(WechatUser user);

    int updateWechatUser(WechatUser user);
}
